﻿using Furion.DependencyInjection;
using System;
using System.Windows.Controls;
using UpperComputer.WPF.Entry.ViewModels;

namespace UpperComputer.WPF.Entry.Views
{
    /// <summary>
    /// RoleOperationControl.xaml 的交互逻辑
    /// </summary>
    public partial class RoleOperationControl : UserControl, ITransient
    {
        public RoleOperationControl(long id)
        {
            InitializeComponent();
            DataContext = Native.CreateInstance<RoleOperationViewModel>(id);
        }
    }
}